import { defineStore } from 'pinia'

// 第一个参数
const useCityStore = defineStore('count', {
  state: () => {
    return {
      city: '武汉',
    }
  },
  actions: {
    addCount() {
      this.city = '长沙'
    },
  },
})

export { useCityStore }
